package com.usian.comment;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import springfox.bean.validators.plugins.schema.MinMaxAnnotationPlugin;

@SpringBootApplication//启动类
@EnableDiscoveryClient//开启注册中心
@MapperScan("com.usian.user.mapper")
@EnableFeignClients
@ServletComponentScan
public class AppCommentApplication {
    public static void main(String[] args) {
        SpringApplication.run(AppCommentApplication.class,args);
    }
}
